package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

public interface AuthorityService {
    public PageResult findPage(QueryPageBean queryPageBean);

    Result add(Permission permission);

    void delById(Integer id);

    Permission findById(Integer id);

    void update(Permission permission);
}
